﻿using System;
using System.Collections.Generic;

using RexToy.Compiler.Semantic;

namespace RexToy.ExpressionLanguage.AST
{
    public class AutoIntArrayNode : Node_2
    {
        internal AutoIntArrayNode(Node begin, Node end)
        {
            begin.ThrowIfNullArgument("begin");
            end.ThrowIfNullArgument("end");

            _node1 = begin;
            _node2 = end;
        }

        public Node Begin
        {
            get { return _node1; }
        }

        public Node End
        {
            get { return _node2; }
        }
    }
}
